
public class Square extends Rectangle1 {
	
	public Square() {
		super();
	}

	public Square(double side) {
		super(side,side);
	}

	public Square(String color,boolean filled) {
		this.setColor(color);
		this.setFilled(filled);
	}
//	public double getSide() {
//	
//	}
	public void setSide(double side) {
		
	}
	@Override
	public void setWidth(double width) {
		super.setWidth(width);
	}
	@Override
	public void setLength(double length) {
		super.setLength(length);
	}

	@Override
	public String toString() {
		return "Square [side=" + getLength() + ", String=" + super.toString() + ", Color=" + getColor() + "]";
	}
 	
}
